import java.util.Scanner;


public class Temperature {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入转换的华氏温度：");
        float f = scanner.nextFloat();
        float c = (f-32)*5/9;
        System.out.printf("%.2f",c);
    }
}
